import requests
from bs4 import BeautifulSoup
from prettytable import *
import random


header = {
    'User-Agent' : 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.88 Safari/537.36',
    'Referer' : 'http://fundf10.eastmoney.com/'
}



url = "http://api.fund.eastmoney.com/f10/lsjz?fundCode=110022&pageIndex=1&pageSize=2&startDate=2020-01-01&endDate=2020-12-31&_=3123"


# resp = requests.get(url, headers=header)
aa = random.random()
print(aa)